<template>
  <van-nav-bar :title="props.title" :left-arrow="props.left ? props.left : false"/>
</template>

<script setup>
import {ref, defineProps, onMounted} from "vue"

let props = defineProps(['title','left'])
const title = ref('')
onMounted(()=>{
  console.log(props.left)
})
</script>

<style scoped lang="less">
van-nav-bar{
  z-index: 999;
}
</style>